package com.fansl.allround.ucenter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/9/20 15:16
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ucenter_user_details")
public class UcenterUserDetails extends Model<UcenterUserDetails> {
    /**
     * 编号
     */
    @TableId(value = "user_id", type = IdType.INPUT)
    private Integer userId;

    /**
     * 个性签名
     */
    private String signature;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 出生日期
     */
    private Date birthday;

    /**
     * 帐号安全问题
     */
    private String question;

    /**
     * 帐号安全答案
     */
    private String answer;
}
